package com.sx.entity.system;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.sx.basic.BasicEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @author AdinZ
 * @date 2020/11/7 10:14
 * 此表作为{@linkplain ConfigEntity 的父级表}
 */
@Data
@NoArgsConstructor
@TableName(value = "sx_config_group")
@Entity
@Table(name = "sx_config_group")
public class ConfigGroupEntity  extends BasicEntity {
    @TableId
    @Id @Column(length = 50)
    @ApiModelProperty("关联唯一值")
    private String groupKey;
    @Column(length = 50)
    @ApiModelProperty("配置分组名称")
    private String groupName;
    @Column(length = 200)
    @ApiModelProperty("配置分组名称")
    private String groupRemark;
    @ApiModelProperty("排序")
    private int sort;
    @ApiModelProperty("是否隐藏")
    private boolean hidden=false;
}
